package cn.lyq.system.domain.asset.asset.domainservice;

import cn.hutool.core.lang.Assert;
import cn.lyq.system.domain.asset.asset.domainservice.model.BatchInOutModel;
import cn.lyq.system.domain.asset.asset.domainservice.model.TransferModel;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
@Slf4j
public class AssetDomainServiceImpl implements IAssetDomainService {
    @Override
    public void handleAssetIn(BatchInOutModel batchInOutModel) {
        Assert.notEmpty(batchInOutModel.getUniqueCodes());

    }

    @Override
    public void handleAssetOut(BatchInOutModel batchInOutModel) {
        Assert.notEmpty(batchInOutModel.getUniqueCodes());

    }

    @Override
    public void handleAssetTransfer(TransferModel transferModel) {
        Assert.notEmpty(transferModel.getUniqueCodes());
    }
}
